package com.java.forum.a_entity;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
public class Post {
    private Integer pid;
    private Integer uid;
    private Integer type;
    private String title;
    private Date date;
    private Integer likes;
    private Integer comments;
    private Integer views;
    private Integer collections;
    private String text;
    private String html;
    private String image;
    private User user;
    private double score;
}
